package com.qidianit.mes.sys.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.Result;
import com.qidianit.mes.pojo.Supplier;

public interface SupplierService {
  Result<PageInfo<Supplier>> querySupplier(Supplier supplier,int pageNum,int size);

  Result<Supplier> queryByCode(String code);

  Result<Supplier> saveSupplier(Supplier supplier);

  Result updateSupplier(Supplier supplier);

  Result deleteSupplier(Long id);

  Result batchDelete(Long[] ids);

}
